package cn.sunagy.security.maz.admin.mapper;

import cn.sunagy.security.maz.admin.entity.User;
import cn.sunagy.security.maz.common.data.Tenant;
import cn.sunagy.security.maz.common.mapper.CommonMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author 3fish
 * @email yang.yang@sunagy.com
 * @version 2018-05-31 14:40:57
 */
@Tenant()
public interface UserMapper extends CommonMapper<User> {
    public List<User> selectMemberByGroupId(@Param("groupId") String groupId);
    public List<User> selectLeaderByGroupId(@Param("groupId") String groupId);
    List<String> selectUserDataDepartIds(String userId);
}
